package slxy.jiangtao.dts.entity.sys;

import slxy.jiangtao.dts.core.common.bean.BaseId;

import javax.persistence.Basic;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * Code must be sexy
 * Created by JiangTao on 2017/1/12.
 */
@Entity
@Table(name = "role_menu")
public class RoleMenu extends BaseId {
    @Basic
    @Column(name = "role_id",nullable = false)
    private Integer roleId;
    @Basic
    @Column(name = "menu_id",nullable = false)
    private Integer menuId;

    public Integer getRoleId() {
        return roleId;
    }

    public void setRoleId(Integer roleId) {
        this.roleId = roleId;
    }

    public Integer getMenuId() {
        return menuId;
    }

    public void setMenuId(Integer menuId) {
        this.menuId = menuId;
    }


}
